package com.hungry.hfw.dao;

import java.util.List;

public interface CoreDao {

	public Object insert(Object o) throws Exception;
	public Object getUniqueResult(Object o,CustomQuery uniqueResultQuery) throws Throwable;
	public int update(Object o, CustomQuery updateQuery) throws Throwable;;
	public List<BaseEntity> get(Object o, CustomQuery getQuery) throws Throwable;
	public int deleteEntity(BaseEntity be, CustomQuery deleteQuery) throws Throwable;
	
	
	
}
